fix(signals): match hyphenated ci-only no-issue rationale - #2117
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #2117 +/- ##
=======================================
Coverage ? 95.73%
=======================================
Files ? 223
Lines ? 24741
Branches ? 8969
=======================================
Hits ? 23685
Misses ? 433
Partials ? 623
🚀 New features to boost your workflow:
|
|
Warning 🟨🟨🟨🟨🟨🟨🟨🟨🟨🟨🟨🟨 ⏸️ Gittensory review result - manual review recommendedReview updated: 2026-07-01 17:19:35 UTC
⏸️ Suggested Action - Manual Review Review summary Nits — 4 non-blocking
Review context
Contributor next steps
Signal definitions
🟩 Safe / merged · 🟦 Advisory · 🟨 Held for review · 🟥 Blocked / closed 💰 Earn for open-source contributions like this. Gittensor lets GitHub contributors earn for the work they already do — register to start earning →. Checked by Gittensory, a quiet PR intelligence layer for OSS maintainers.
|
|
Superseded by #2271, which combines the ci-only and refactor-only rationale spellings in one PR to avoid duplicate overlap warnings from the gate. |
b7cd3ce to
e610bee
Compare
e610bee to
360b594
Compare
Co-authored-by: Cursor <cursoragent@cursor.com>
4e06af2 to
0dcc448
Compare
Summary
hasClearNoIssueRationaleinsrc/signals/engine.tsis the shared definition of a clear no-issue rationale for the slop signal (#562), the public PR-panel traceability check, and the hard linked-issue gate. After #1905 (docs-only) and #1993 (test-only), ci-only PRs using the same Conventional Commits spelling were still missed.Consequence: a ci-only PR with no linked issue — e.g.
ci-only: tighten workflow cache— on a repo withlinkedIssueGateMode === "block"can hithardLinkedIssueBlock, fail the gate, and be auto-closed despite a valid rationale.Fix: widen the alternative to
ci[\s-]+only, matchingci only,ci-only, and embedded body forms while leaving unrelated CI mentions unchanged.No linked issue: this repo's
linkedIssuePolicyispreferred, and this is a small, self-evident one-token regex correctness fix parallel to the merged docs-only (#1905) and test-only (#1993) fixes.Scope
fix(signals): …).CONTRIBUTING.md; no UI/API/schema/migration changes.Validation
git diff --checknpm run typechecknpm run test:coverage— newhasClearNoIssueRationale ci-only spellingtests cover space, hyphenated, embedded body, and negative cases.npm run test:ciIf any required check was skipped, explain why:
Safety
Notes
hasClearNoIssueRationale({ title: "ci-only: tighten workflow cache", body: "" })returnedfalse(should betrue);"Fix CI flake in queue tests"still returnsfalse.